/*
 * VisibleSupport.h
 *
 *  Created on: 2010-8-30
 *      Author: try
 */

#ifndef VISIBLESUPPORT_H_
#define VISIBLESUPPORT_H_

namespace Ed {

  /**
   * 设置或检查可见性
   */
  class VisibleSupport{
    public:
      VisibleSupport():visible(true){

      }
      virtual ~VisibleSupport(){

      }

      virtual inline void setVisible(bool b){
        visible = b;
      }

      virtual inline bool isVisible() const{
        return visible;
      }

    protected:
      bool visible;

  };

}

#endif /* VISIBLESUPPORT_H_ */
